<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:pou="http://primefaces.org/ui">
    <ui:component>
        <pou:layout style="height: 500px">
            <pou:layoutUnit position="center" header="Crear POI">
                <pou:commandButton style="float: right" type="button" icon="findme" 
                                   title="Mi Ubicación" onclick="findMe()"/>
                <pou:gmap id="mapPoi" center="#{createPOIController.centerMap}" zoom="15" type="ROADMAP"   
                          style="min-width:600px;min-height:450px"  
                          model="#{createPOIController.pois}"   
                          onPointClick="handlePointClick(event);"   
                          widgetVar="gmap"
                          />
                
            </pou:layoutUnit>
        </pou:layout>
    </ui:component>
</html>
